@extends('layout.admin.master')
@section('content')
    <div class="card">
        <div class="card-header">

            <h4 class="card-header-title">
                站点配置
            </h4>
        </div>
        <div class="card-body">
            <form action="{{route('admin.config.update',['name'=>$name])}}" method="post">
                @csrf
                <div class="form-group">
                    <label for="exampleInputEmail1">网站标题</label>
                    <input type="text" class="form-control" id="exampleInputEmail1" name="title" value="{{cache_config('site.title')}}">
                </div>
                <div class="form-group">
                    <label for="exampleInputEmail1">网站关键词</label>
                    <input type="text" class="form-control" id="exampleInputEmail1" name="keyword" value="{{cache_config('site.keyword')}}">
                </div>
                <div class="form-group">
                    <label for="exampleInputEmail1">网站描述</label>
                    <input type="text" class="form-control" id="exampleInputEmail1" name="description" value="{{cache_config('site.description')}}">
                </div>
                <div class="form-group">
                    <label for="exampleInputEmail1">资讯热线</label>
                    <input type="text" class="form-control" id="exampleInputEmail1" name="tel" value="{{cache_config('site.tel')}}">
                </div>
                <div class="form-group">
                    <label for="exampleInputEmail1">站长邮箱</label>
                    <input type="text" class="form-control" id="exampleInputEmail1" name="email" value="{{cache_config('site.email')}}">
                </div>
                <div class="form-group">
                    <label for="exampleInputEmail1">icp</label>
                    <input type="text" class="form-control" id="exampleInputEmail1" name="icp" value="{{cache_config('site.icp')}}">
                </div>
                <button type="submit" class="btn btn-primary">保存数据</button>
            </form>

        </div>
    </div>
@endsection
